package com.rjj.wlqq.aop.annotation_controller;

import com.rjj.wlqq.aop.aspect.Log;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author renjianjun
 * @date 2020/8/13 21:13
 * @email 215060580@qq.com
 */
@Controller
public class AnnotationController {

    @Log
    @ResponseBody
    @RequestMapping("/annotation")
    public String index(){
        return "hello Aspect annotation !";
    }
}
